package chixing.day18.homework.work3_1;

public class EmployeeThreadTest {
    public static void main(String[] args) {

        String[] employees = {"张三", "李四", "王五", "赵六"};

        for (String s : employees) {
            Employee employee = new Employee(s);
            EmployeeThread employeeThread = new EmployeeThread(employee);
            employeeThread.start();
//            for (int i = 1;i < 20;i++){
//                EmployeeThread employeeThread = new EmployeeThread(employee);
//                employeeThread.start();
//            }
        }


    }
}
